package com.gpframework.module.manufacture.service.impl;

import com.gpframework.common.exception.BaseException;
import com.gpframework.module.process.domain.GpProcessScheduling;
import org.springframework.stereotype.Service;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.gpframework.module.manufacture.mapper.GpMakingGoodsRequirementDetailsMapper;
import com.gpframework.module.manufacture.domain.GpMakingGoodsRequirementDetails;
import com.gpframework.module.manufacture.domain.vo.GpMakingGoodsRequirementDetailsVo;
import com.gpframework.module.manufacture.service.IGpMakingGoodsRequirementDetailsService;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import java.util.List;
/**
 * @ClassName GpMakingGoodsRequirementDetails
 * @Author gpframework
 * @Date 2023-11-10
 * @Version 1.0.0
 * @Description 产品做货要求明细基础Service业务层处理
 */
@Service
public class GpMakingGoodsRequirementDetailsServiceImpl extends ServiceImpl<GpMakingGoodsRequirementDetailsMapper, GpMakingGoodsRequirementDetails> implements IGpMakingGoodsRequirementDetailsService {

    /**
     * @Description 查询列表返回VO 用于返回给前端的列表接口
     * @Author gpframework
     * @Date 2023-11-10
     * @Param [lqw]
     * @Return List<GpMakingGoodsRequirementDetailsVo>
     */
    @Override
    public List<GpMakingGoodsRequirementDetailsVo> listVo(QueryWrapper<GpMakingGoodsRequirementDetails> lqw) {
        return this.baseMapper.listVo(lqw);
    }

    /**
     * @Description 通过查询详情VO 用于返回给前端的列详情接口
     * @Author gpframework
     * @Date 2023-11-10
     * @Param [id]
     * @Return GpMakingGoodsRequirementDetailsVo
     */
    @Override
    public GpMakingGoodsRequirementDetailsVo getVoById(Long id) {
        return this.baseMapper.getVo(id);
    }

}
